from django.urls import path, re_path

from icdemoapi.apps.systems.users import views

urlpatterns = [
    # 菜单
    path('menu/', views.UserView.as_view()),
    re_path('menu/(\d+)', views.UserDetailView.as_view()),
    # 用户
    path('users/', views.UserView.as_view()),
    re_path('users/(\d+)', views.UserDetailView.as_view()),
    # 角色
    path('role/', views.UserView.as_view()),
    re_path('role/(\d+)', views.UserDetailView.as_view()),
    # 权限
    path('permission/', views.UserView.as_view()),
    re_path('permission/(\d+)', views.UserDetailView.as_view()),
]
